package service;

import org.apache.ibatis.annotations.Param;
import pojo.Blog;
import pojo.Comment;

import java.util.List;

public interface CommentService {
    //添加评论
    int insertComment(Comment comment);
    List<Comment> selectComment(@Param("blogId") String blogId);
    List<Comment> selectAllComment();
    int delete(int commentid);
    List<Comment> getcommentbybeuserid(String userid);

}
